MailerLite\Includes\Shared\Api\MailerLiteAPI B

Total Complexity 80
Dependencies 1
Dependents 1
Total lines 1,277
Lines of code 464
Logical lines of code 210
Comment lines 527
Methods 54
Properties 4

Methods 54

Method Rating Maintainability Complexity Lines of code
syncOrder()
A
49 9 30
parseResponse()
S
57 5 18
syncCustomer()
S
53 4 22
getGroups()
S
56 3 18
getFields()
S
58 3 16
getDoubleOptin()
S
64 4 10
setConsumerData()
S
51 2 29
syncCustomerWooCommerce()
S
56 2 19
syncProduct()
S
56 2 17
updateCart()
S
60 2 12
createShop()
S
58 1 15
updateCustomer()
S
64 1 9
replaceProductCategories()
S
64 1 9
importProducts()
S
69 1 6
deleteProduct()
S
71 1 5
syncCategory()
S
65 1 8
importCategories()
S
69 1 6
deleteCategory()
S
71 1 5
responseCode()
S
82 1 3
deleteCustomer()
S
71 1 5
fetchCustomer()
S
71 1 5
getResponseBody()
S
82 1 3
updateOrder()
S
64 1 9
replaceCartItems()
S
66 1 8
getCartItems()
S
71 1 5
deleteCartItem()
S
71 1 5
batch()
S
72 1 5
getAccountDetails()
S
82 1 3
createGroup()
S
70 1 6
addCartItem()
S
71 1 5
__construct()
S
66 1 8
deleteOrder()
S
71 1 5
saveOrder()
S
82 1 3
updateSubscriber()
S
91 1 2
updateSubscriberStatus()
S
66 1 8
searchSubscriber()
S
72 1 5
checkMoreGroups()
S
66 1 8
getMoreGroups()
S
66 1 8
setDoubleOptin()
S
77 1 4
createField()
S
66 1 8
updateField()
S
70 1 6
sendSubscriberData()
S
63 1 10
sendOrderProcessing()
S
66 1 8
importCustomers()
S
69 1 6
sendCart()
S
66 1 8
toggleShop()
S
65 1 9
getShopSettings()
S
72 1 5
validateAccount()
S
72 1 5
getShops()
S
72 1 5
getShop()
S
72 1 5
deleteshop()
S
72 1 5
fetchOrder()
S
71 1 5
validateKey()
S
72 1 5
importOrders()
S
67 1 7